﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuestionSetLibrary
{
    public class MultipleChoiceQuestion : Question
    {
        public List<Answers> answers = new List<Answers>();
        
        
        public override void addAnswer(string a)
        {
            Answers answer = new Answers();
            answer.setAnswers(a);
            answers.Add(answer);
        }
        public new List<Answers> getAnswers()
        {
            return answers;
        }

        public new Answers getAnswer(int index)
        {
            return answers[index];
        }
    }
}
